home *** CD-ROM | disk | FTP | other *** search
- Path: news.unt.edu!news
- From: Steve Fogoros <sfogoros@hsc.unt.edu>
- Newsgroups: comp.lang.c
- Subject: 6 byte real to double; How?
- Date: Mon, 19 Feb 1996 00:10:18 -0800
- Organization: University of North Texas Health Science Center
- Message-ID: <3128306A.21F@hsc.unt.edu>
- NNTP-Posting-Host: sfogoros.hsc.unt.edu
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0b6a (Win16; I)
-
- I have a lot of data files that were created by a pascal program. The
- data is stored as 'file of real' meaning that each floating point value
- is stored in six bytes. I need to access this data from a c program
- (borland). I would like any assistance you could provide. I guess what
- I need is a canned function that would take a 6 byte string (actually the
- real), and return a double.
-
- I wrote a conversion routine in c but I suspect errors. If you would like
- to review my conversion routine, please e-mail me.
- --
- Steve Fogoros, Academic Information Coordinator
- University of North Texas Health Science Center
- 3500 Camp Bowie Boulevard, Fort Worth, Texas 76107-2699
- (817)-735-2162 sfogoros@hsc.unt.edu
-